3bdb54e529968ec97cdf58565c4572a3939c78eb,core/src/test/java/org/elasticsearch/search/searchafter/SearchAfterIT.java,SearchAfterIT,testsShouldFail,#,53

Before Change



    public void testsShouldFail() throws Exception {
        client().admin().indices().prepareCreate("test").execute().actionGet();
        client().prepareIndex("test", "type1", "0").setSource("field1", 0, "field2", "toto").execute().actionGet();
        refresh();

        try {

After Change



    public void testsShouldFail() throws Exception {
        createIndex("test");
        indexRandom(true, client().prepareIndex("test", "type1", "0").setSource("field1", 0, "field2", "toto"));

        try {
            client().prepareSearch("test")